package cn.com.fuhuitong.main.home.entity

import cn.com.fuhuitong.http.BaseResponse

data class HomeResponse(
    val data: HomeEntity
) : BaseResponse()

data class HomeEntity(
    val banner: MutableList<BannerEntity> = mutableListOf(),
    val chief_experience: String,
    val express_news: MutableList<ExpressNewEntity> = mutableListOf(),
    val home_icon: MutableList<HomeIconEntity> = mutableListOf()
)

data class BannerEntity(
    val image: String,
    val url: String?=null,
    val file:String?= null
)

data class ExpressNewEntity(
    val id: Int,
    val title: String
)

data class HomeIconEntity(
    val image: String,
    val title: String,
    val id: Int,
    val type: Int
)

data class HomeGoodsResponse(
    val data: HomeGoodsEntity
) : BaseResponse() {
    var hasMore: Boolean = true
    var loadMore: Boolean = false
}

data class HomeGoodsEntity(
    val list: MutableList<GoodsListEntity> = mutableListOf()
)

data class GoodsListEntity(
    val experience_price: String,
    val id: Int,
    val image: String,
    val member_discount_price: String,
    val member_discount: String,
    val price: String,
    val title: String
)
